<?xml version="1.0" encoding="UTF-8"?>
<data>
	<productList>			
	<#list cartItemList as list>
	<product>
		<productName><![CDATA[${list.product.name}]]></productName>
			
			<#if (loginMember.memberRank.preferentialScale != 100)!>
				<price><![CDATA[${list.product.price?string(priceCurrencyFormat)}]]></price>
				<priceCurrencyFormat>
					<![CDATA[${list.preferentialPrice?string(priceCurrencyFormat)}]]>
				</priceCurrencyFormat>
			<#else>
				<price>
					<![CDATA[${list.product.price?string(priceCurrencyFormat)}]]>
				</price>
			</#if>
			
			<marketPrice>
					<![CDATA[${list.product.marketPrice?string(priceCurrencyFormat)}]]>
			</marketPrice>
			<quantity><![CDATA[${list.quantity}]]></quantity>
			<subtotalPrice>
				<![CDATA[${list.subtotalPrice?string(orderCurrencyFormat)}]]>
			</subtotalPrice>
			<id>
				<![CDATA[${list.product.id}]]>
			</id>
			
			<brand>
				<![CDATA[${list.product.p1}]]>
			</brand>
			
			<pinlei>
				<![CDATA[${list.product.productCategory.name}]]>
			</pinlei>
			
			
			<#if (list.product.productCategory.id == 1)!>
			
			<#list list.product.p29?split("，") as s>
				    <mainPic${s_index+1}><![CDATA[${s}]]></mainPic${s_index+1}>
				</#list>
				
				<#list list.product.p30?split("，") as s>
				    <secPic${s_index+1}><![CDATA[${s}]]></secPic${s_index+1}>
				</#list>
			</#if>
			
			<#if (list.product.productCategory.id == 2)!>
			
			<#list list.product.p32?split("，") as s>
				    <mainPic${s_index+1}><![CDATA[${s}]]></mainPic${s_index+1}>
				</#list>
				
				<#list list.product.p33?split("，") as s>
				    <secPic${s_index+1}><![CDATA[${s}]]></secPic${s_index+1}>
				</#list>
			</#if>
			<#if (list.product.productCategory.id == 5)!>
			
			<#list list.product.p25?split("，") as s>
				    <mainPic${s_index+1}><![CDATA[${s}]]></mainPic${s_index+1}>
				</#list>
				
				<#list list.product.p26?split("，") as s>
				    <secPic${s_index+1}><![CDATA[${s}]]></secPic${s_index+1}>
				</#list>
			</#if>
			
		</product>
	</#list>
	</productList>	
	<totalQuantity><![CDATA[${totalQuantity}]]></totalQuantity>								
	<totalPrice><![CDATA[${totalPrice?string(orderUnitCurrencyFormat)}]]></totalPrice>
							
</data>